package game.examples;

import graphic.render.StandardRender;

import javax.swing.JFrame;

public class GameLauncherExample {
	public static void main(String[] args) {
		JFrame frame = new JFrame();
		
		//Avviare pannelo di selezione modalita'
		//esempio
		GameModeExample game = new GameModeExample( new StandardRender());
		
		frame.add(game);
		frame.pack();
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.setVisible(true);
		frame.setResizable(false);
		frame.setLocationRelativeTo(null);
		game.start();
	}
}
